package com.aw.jsr303.ejemplo003;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * User: gmc
 * Date: 06/07/2010
 */
public class Carro {
    private String codigo;
    @NotNull(groups=GrupoBasico.class)
    private String numeroPlaca;
    @NotNull
    private String anio;
    @Valid
    private Motor motor;

}
